#ifndef MODULE_HPP
#define MODULE_HPP

#include <windows.h>
#include "IDynamicModule.hpp"

class DynamicModule : public IDynamicModule
{
public:
							DynamicModule();
							~DynamicModule();

public:
	bool					Load(const std::string &path);
	bool					Unload();

public:
	void					*FindSymbol(const std::string &name) const;

protected:
	HMODULE					_hModule;
};

#endif //!MODULE_HPP
